import java.util.Scanner;

public class add {
    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        System.out.println("请输入5个数：");
        float arr[] = new float[5];
        float sum = 0;
        for(int i = 0;i < 5;i++){
            arr[i] = reader.nextFloat();
            if(arr[i] > 100){
                System.out.println("该成绩（" + arr[i] + "）存在错误！");
            }else{
                sum += arr[i];
            }
        }
        System.out.println("五个成绩中不存在错误的成绩的总和：" + sum);
    }
}
